package com.link.base.base.guidepick.service;

import com.link.base.base.guidepick.model.*;
import com.link.base.base.guidepick.model.*;

import java.util.List;

/**
 * 导购查询客户数据mapper
 *
 * @author 宋燕荣
 */
public interface GuidePickService {

    /**
     * 查询人员
     * @param record
     * @return
     * @throws Exception
     */
    public List<GuideEmployee> queryEmpList(GuideEmployee record) throws Exception;


    /**
     *  查询人员总数
     * @param record
     * @return
     * @throws Exception
     */
    public int queryEmpCount(GuideEmployee record) throws Exception;

    /**
     * 查询客户列表
     * @author song
     * @param  record
     * @return
     * @throws  Exception
     */
    public List<GuidePickAccount> queryAccountList(GuidePickAccount record) throws Exception;

    /**
     *  查询客户总数
     *  @author song
     * @param record
     * @return
     * @throws Exception
     */
    public int queryAccountCount(GuidePickAccount record) throws Exception;

    /**
     *  查询商机列表
     *  @author song
     * @param record
     * @return
     * @throws Exception
     */
    public List<GuidePickOpty> queryOptyList(GuidePickOpty record) throws Exception;


    /**
     * 查询商机总数
     * @author song
     * @param record
     * @return
     * @throws Exception
     */
    public int queryOptyCount(GuidePickOpty record) throws Exception;


    /**
     * 查询客户地址列表
     * @author song
     * @param record
     * @return
     * @throws Exception
     */
    public List<GuidePickReceiptAddr> queryaccntAddrList(GuidePickReceiptAddr record) throws Exception;


    /**
     *  查询客户地址总数
     * @author song
     * @param record
     * @return
     * @throws Exception
     */
    public int queryaccntAddrCount(GuidePickReceiptAddr record) throws Exception;


    /**
     * 查询组织
     * @author ying
     * @param record
     * @return
     * @throws Exception
     */
    public List<GuidePickOrg> queryOrgList(GuidePickOrg record) throws Exception;
}
